#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <qthread.h>
#include<the_video_clip.h>
#include<qtimer.h>

class mythread : public QThread
{
    Q_OBJECT
public:
    explicit mythread(QObject *parent = nullptr);

    void setinfo_beforestart(QStringList videofilelist,QString outpath,QTime cuttime, QTime onevideotime,QStringList audiolist,QString zimufile, QString titie,QString logo,bool addaudio,bool addzimu);


protected:
    void run() override;
private slots:
    void slot_sending(QString str,QString pro);

signals:
    void signal_info(QString str,QString pro);
private:

    QString str,pro;

    QStringList videofilelist;QString outpath;QTime cuttime; QTime onevideotime;QStringList audiolist;QString zimufile;
    QString titie;QString logo;bool addaudio;bool addzimu;
};

#endif // MYTHREAD_H
